<?php
session_start();

if (isset($_SESSION['uid'])) {
	unset($_SESSION['uid']);
	echo "ok";
} else {
	echo "nologin";
}
?>